<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="changePWD">
	<img src="img/unknown_user.gif">
	<form method="post" action="SavePWD.html">
		<table>
			<tr>
				<td>E-Mail:</td>
				<td><input type="text" readonly="readonly" name="email"
					size="30" value='<c:out value="${email}"/>' /></td>
			</tr>
			<tr>
				<td>Altes Passwort:</td>
				<td><input type="password" name="pwdalt" size="30"
					value='<c:out value="${pwdalt}"/>' /></td>
			</tr>
			<tr>
				<td>Neues Passwort:</td>
				<td><input type="password" name="pwdneu1" size="30"
					value='<c:out value="${pwdneu1}"/>' /></td>
			</tr>
			<tr>
				<td>Neues Passwort wiederholen:</td>
				<td><input type="password" name="pwdneu2" size="30"
					value='<c:out value="${pwdneu2}"/>' /></td>
			</tr>
			<tr>
				<td><br>
				<br></td>
				<td><c:out value="${msg}" /> <c:out value="${errormsg}" /></td>
			</tr>
		</table>
		<br>
		<br> <input type="submit" value="Passwort ändern" />
	</form>

</div>
<c:if test="${!empty msg}">
	<div title="Nachricht"
		style="height: 150px; min-height: 130px; width: 400px;"
		class="ui-dialog-content ui-widget-content" id="dialog">
		<p>
			<span class="ui-icon ui-icon-info"
				style="float: left; margin-right: .3em;"></span>
			<c:out value="${msg}" />
		</p>
	</div>
</c:if>
<c:if test="${!empty errormsg}">
	<div title="Fehler"
		style="height: 150px; min-height: 130px; width: 400px;"
		class="ui-dialog-content ui-widget-content" id="dialog">
		<p>
			<span class="ui-icon ui-icon-alert"
				style="float: left; margin-right: .3em;"></span>
			<c:out value="${errormsg}" />
		</p>
	</div>

</c:if>
